package com.Redis.Model;

import java.io.Serializable;

public class ReportData implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int subjectId;
	private int classId;
	private String  courseId; //可能会有多次课程 
	private int studentId;
	private String studentName;
	private int groupId;
	private String midStr; //期中的课程字符串
	private String endStr; //期末的课程字符串
	
	private int midTerm; //1 统计过  0 没有统计过
	private int endTerm; //1 统计过  0 没有统计过
	
	private boolean isMidStatistics; //期中是否可以进行统计
	private boolean isEndStatistics;	//期末是否可以进行统计
	
	private int reportType; //报告的类型  SINGLE<单次>  MID<期中>  END<期末>
	
	public String getMidStr() {
		return midStr;
	}

	public void setMidStr(String midStr) {
		this.midStr = midStr;
	}

	public String getEndStr() {
		return endStr;
	}

	public void setEndStr(String endStr) {
		this.endStr = endStr;
	}

	public int getMidTerm() {
		return midTerm;
	}

	public void setMidTerm(int midTerm) {
		this.midTerm = midTerm;
	}

	public int getEndTerm() {
		return endTerm;
	}

	public void setEndTerm(int endTerm) {
		this.endTerm = endTerm;
	}

	public boolean isMidStatistics() {
		return isMidStatistics;
	}

	public void setMidStatistics(boolean isMidStatistics) {
		this.isMidStatistics = isMidStatistics;
	}

	public boolean isEndStatistics() {
		return isEndStatistics;
	}

	public void setEndStatistics(boolean isEndStatistics) {
		this.isEndStatistics = isEndStatistics;
	}
	public int getReportType() {
		return reportType;
	}

	public void setReportType(int reportType) {
		this.reportType = reportType;
	}

	public int getSubjectId() {
		return subjectId;
	}

	public void setSubjectId(int subjectId) {
		this.subjectId = subjectId;
	}

	public int getClassId() {
		return classId;
	}

	public void setClassId(int classId) {
		this.classId = classId;
	}


	public String getCourseId() {
		return courseId;
	}

	public void setCourseId(String courseId) {
		this.courseId = courseId;
	}

	public int getStudentId() {
		return studentId;
	}

	public void setStudentId(int studentId) {
		this.studentId = studentId;
	}

	public String getStudentName() {
		return studentName;
	}

	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}

	public int getGroupId() {
		return groupId;
	}

	public void setGroupId(int groupId) {
		this.groupId = groupId;
	}

	@Override
	public String toString() {
		return "ReportData [subjectId=" + subjectId + ", classId=" + classId + ", courseId=" + courseId + ", studentId="
				+ studentId + ", studentName=" + studentName + ", groupId=" + groupId + ", midStr=" + midStr
				+ ", endStr=" + endStr + ", midTerm=" + midTerm + ", endTerm=" + endTerm + ", isMidStatistics="
				+ isMidStatistics + ", isEndStatistics=" + isEndStatistics + ", reportType=" + reportType + "]";
	}

	

}
